package com.t.codebook.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.t.codebook.model.dto.code.CodeQueryRequest;
import com.t.codebook.model.entity.Code;
import com.t.codebook.model.vo.CodeVO;

import javax.servlet.http.HttpServletRequest;

/**
 * 代码库服务
 *

 * @from <a href="https://www.code-nav.cn">编程导航学习圈</a>
 */
public interface CodeService extends IService<Code> {

    /**
     * 分页获取代码库封装
     *
     * @return
     */
    PageInfo<CodeVO> getCodeVOPage(CodeQueryRequest codeQueryRequest);




    /**
     * @Description  查询 Code 信息
     * @Author T
     * @Date 2024/8/25 20:59
     **/
    CodeVO getCodeVO(Long id);





}
